﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLT_Public;
using QLT_Data;
using System.Data;

namespace QLT_BLL
{
   public  class HoaDonBH_BLL
    {
       HoaDonBH_Data hoaDonBH = new HoaDonBH_Data();
       public DataTable LayDuLieu()
       {
           return hoaDonBH.LayDuLieu();
       }
       public DataTable taoBang(string sql)
       {
           return hoaDonBH.TaoBang(sql);
       }
       public int insert_HoaDonBH(HoaDonBH_Public tenHD, HoaDonBH_Public ngayLap, HoaDonBH_Public maKH,  HoaDonBH_Public maNV)
       {
           return hoaDonBH.Insert_HoaDonBH(tenHD,ngayLap, maKH,  maNV);
       }
       public int update_HoaDonBH(HoaDonBH_Public tenHD,HoaDonBH_Public maHDBH,HoaDonBH_Public ngayLap, HoaDonBH_Public maKH,  HoaDonBH_Public maNV)
       {
           return hoaDonBH.Update_HoaDonBH(tenHD,maHDBH, ngayLap, maKH,  maNV);
       }
       public int delete_HoaDonBH(HoaDonBH_Public maHDBH)
       {
           return hoaDonBH.Delete_HoaDonBH(maHDBH);
       }
    }
}
